package com.javajun.entity;

import javax.persistence.Entity;
import javax.persistence.ManyToOne;

import org.springframework.beans.factory.annotation.Autowired;

/**
 * @className: Customer
 * @description: 用户，最终用户端
 * @author: JavaJun
 * @date: 2018年10月29日
 */
@Entity
public class Customer extends SysUser{

    private String remarks;
    private Enterprise enterprise;

    @ManyToOne
    public Enterprise getEnterprise() {
        return enterprise;
    }

    public void setEnterprise(Enterprise enterprise) {
        this.enterprise = enterprise;
    }

    public String getRemarks() {
        return remarks;
    }

    public void setRemarks(String remarks) {
        this.remarks = remarks;
    }
    
}
